package com.mos.iot.mqtt.listener.annotation;

import com.mos.iot.mqtt.listener.converter.MessageConverter;
import com.mos.iot.mqtt.listener.converter.impl.BaseMessageConverter;

import java.lang.annotation.*;

@Target({ ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MqttTopicPath {

    String value() default "";

    Class<? extends MessageConverter> converter() default BaseMessageConverter.class;
}
